package cn.gogpay.dcb.api.feign.impl;

import cn.gogpay.dcb.api.feign.PublicTrafficClient;
import cn.gogpay.dcb.common.dto.ResultCode;
import cn.gogpay.dcb.common.dto.ResultDTO;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 * api-platform client
 *
 * @author jiaoming@gogpay.cn
 * @date 2019/11/22 21:34
 */
@Component
public class PublicTrafficClientImpl implements PublicTrafficClient {

    @Override
    public ResultDTO getStationInfo(BigDecimal lng, BigDecimal lat) {
        return new ResultDTO(ResultCode.serverError(), "实时公交服务正忙，请稍后再试！");
    }

}
